﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using F_DAL;
using F_MODEL;
using Pager;
namespace F_BLL
{
   public class Sendandaddresseebll
    {
       Sendandaddressee dal = new Sendandaddressee();
       /// <summary>
       /// 待寄件
       /// </summary>
       /// <param name="origins"></param>
       /// <param name="waybillids"></param>
       /// <param name="index"></param>
       /// <param name="size"></param>
       /// <returns></returns>
       public Pager.Plist<Waybill> getSendlist(string origins, string waybillids, int index, int size)
       {
           return dal.getSendlist(origins,waybillids,index,size);

       }
       /// <summary>
       /// 待收件
       /// </summary>
       /// <param name="destinations"></param>
       /// <param name="waybillids"></param>
       /// <param name="index"></param>
       /// <param name="size"></param>
       /// <returns></returns>
       public Pager.Plist<Waybill> getAddresseelist(string destinations, string waybillids, int index, int size)
       {
           return dal.getAddresseelist(destinations, waybillids, index, size);

       }
    }
}
